<?php
/**
 * Created by JetBrains PhpStorm.
 * User: T420
 * Date: 11/12/12
 * Time: 10:07 AM
 * To change this template use File | Settings | File Templates.
 */
class Models_Index extends Libs_Model
{
    public function __construct()
    {
        parent::__construct();
    }
    public function getneworder()
    {
        $this->db->connect();
        $list=$this->db->executeQuery("select * from lb_order where ostatus=0");
        $this->db->disconnect();
        return $list;
    }
    public function getuser()
    {
        $this->db->connect();
        $list=$this->db->executeQuery("select * from lb_users");
        $this->db->disconnect();
        return $list;
    }
}
